package com.jiezhuo.mapper.center;

import com.jiezhuo.entity.cmeduSchool.JzgNewMenu;
import com.jiezhuo.entity.jw.JwUserlist;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiezhuo.entity.jw.JwVo;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author com.jiezhuo
 * @since 2024-06-13
 */
public interface JwUserlistMapper extends BaseMapper<JwUserlist> {

    ArrayList<JzgNewMenu> getMenuTree(String userId);

    HashMap<String, Object> getuserInfo(@Param("userId") String userId);

    ArrayList<HashMap<String, Object>> getUserPermissionAll();

    ArrayList<HashMap<String, Object>> getUserPermissionInfo(@Param("schoolCode") String glXqdm);

    ArrayList<String> getSemester(JwUserlist jwUserlist);

    ArrayList<HashMap<String,Object>> getGrade(JwUserlist jwUserlist);

    ArrayList<HashMap<String, String>> getSubject(JwVo jwVo);
    int  getSubjectCount(JwVo jwVo);

    ArrayList<HashMap<String, String>> getTeacherSubject(JwVo jwVo);

    ArrayList<HashMap<String, String>> getXzGl(JwVo jwVo);

    ArrayList<HashMap<String, String>> getXzXkPz(JwVo jwVo);

    ArrayList<HashMap<String, String>> getXzXkZB(JwVo jwVo);

    ArrayList<HashMap<String, String>> getXzXkZBNum(JwVo jwVo);

    ArrayList<HashMap<String, String>> getSubjectAll(JwVo jwVo);

    ArrayList<HashMap<String, String>> getJwUser(JwVo jwVo);
}
